package com.cortex.pineapple.fetch;

import java.util.HashMap;
import java.util.List;

import com.cortex.pineapple.fetch.RequestData.CATEGORY_FILTER_TYPE;
import com.cortex.pineapple.fetch.RequestData.FILTER_TYPE;
import com.cortex.pineapple.fetch.RequestData.SOURCE_TYPE;
import com.cortex.pineapple.fetch.RequestData.FILTER_TYPE.FILTER_VALUE;
import com.cortext.pineapple.link.ImageLink;
import com.cortext.pineapple.link.Link;
import com.cortext.pineapple.link.NewsLink;
import com.cortext.pineapple.link.VideoLink;
import com.cortext.pineapple.link.WebLink;

public class ResponseData {

	private List<WebLink> webLinks;
	private List<ImageLink> imageLinks;
	private List<VideoLink> videoLinks;
	private List<NewsLink> newsLinks;
	private List<SOURCE_TYPE> sourcesType;
	private CATEGORY_FILTER_TYPE filterType;
	private HashMap<FILTER_TYPE, FILTER_VALUE> filters;
	private String query;
	private boolean isSuccess = true;
	
	public ResponseData() {
	}
	
	public ResponseData(boolean isSuccess,List<WebLink> webLinks, List<ImageLink> imageLinks,
			List<VideoLink> videoLinks, List<NewsLink> newsLinks,String query,
			CATEGORY_FILTER_TYPE filterType,HashMap<FILTER_TYPE, FILTER_VALUE> filters, List<SOURCE_TYPE> sourcesType) {
		this.isSuccess = isSuccess;
		this.webLinks = webLinks;
		this.imageLinks = imageLinks;
		this.videoLinks = videoLinks;
		this.newsLinks = newsLinks;
		this.sourcesType = sourcesType;
		this.filterType = filterType;
		this.query = query;
		this.filters = filters;
	}

	public boolean isSuccess() {
		return isSuccess;
	}
	public List<WebLink> getWebLinks() {
		return webLinks;
	}


	public void setWebLinks(List<WebLink> webLinks) {
		this.webLinks = webLinks;
	}


	public List<ImageLink> getImageLinks() {
		return imageLinks;
	}


	public void setImageLinks(List<ImageLink> imageLinks) {
		this.imageLinks = imageLinks;
	}


	public List<VideoLink> getVideoLinks() {
		return videoLinks;
	}


	public void setVideoLinks(List<VideoLink> videoLinks) {
		this.videoLinks = videoLinks;
	}


	public List<NewsLink> getNewsLinks() {
		return newsLinks;
	}


	public void setNewsLinks(List<NewsLink> newsLinks) {
		this.newsLinks = newsLinks;
	}

	public CATEGORY_FILTER_TYPE getCategoryFilter() {
		return filterType;
	}
	public void setFilterType(CATEGORY_FILTER_TYPE filterType) {
		this.filterType = filterType;
	}
	public List<SOURCE_TYPE> getSourcesType() {
		return sourcesType;
	}
	public void setSourcesType(List<SOURCE_TYPE> sourcesType) {
		this.sourcesType = sourcesType;
	}
	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public HashMap<FILTER_TYPE, FILTER_VALUE> getFilters() {
		return filters;
	}
	public void setFilters(HashMap<FILTER_TYPE, FILTER_VALUE> filters) {
		this.filters = filters;
	}

	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

}
